package hcn.cmc.bean.response;


import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class TreatmentItemSetDetailXmlResp {
    private MsgHeaderRequest MsgHeader;
    private TreatmentItemSetDetailXmlResp.MsgBody MsgBody;


    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    public TreatmentItemSetDetailXmlResp.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(TreatmentItemSetDetailXmlResp.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private TreatmentItemSetDetailXmlResp.MsgBody.Data Data;

        public MsgBody() { }

        public String getStatus() {
            return this.Status;
        }

        public void setStatus(String status) {
            this.Status = status;
        }

        public String getCode() {
            return this.Code;
        }

        public void setCode(String code) {
            this.Code = code;
        }

        @XmlElement(name = "Data")
        public String getDetail() {
            return this.Detail;
        }

        public void setDetail(String detail) {
            this.Detail = detail;
        }

        public TreatmentItemSetDetailXmlResp.MsgBody.Data getData() {
            return this.Data;
        }

        public void setData(TreatmentItemSetDetailXmlResp.MsgBody.Data data) {
            this.Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{

            @XmlElementWrapper(name = "TreatmentSetDetailLists")
            @XmlElement(name = "TreatmentSetDetailList")
            public List<TreatmentSetDetailList> TreatmentSetDetailLists;

            public List<TreatmentSetDetailList> getTreatmentSetDetailLists() {
                return TreatmentSetDetailLists;
            }

            public void setTreatmentSetDetailLists(List<TreatmentSetDetailList> treatmentSetDetailLists) {
                TreatmentSetDetailLists = treatmentSetDetailLists;
            }

            @XmlAccessorType(XmlAccessType.FIELD)
            public static class TreatmentSetDetailList{

              private String TreatmentItemTypeCode;
              private String TreatmentItemTypeName;
              private String TreatmentItemCode;
              private String TreatmentItemName;

                public String getTreatmentItemTypeCode() {
                    return TreatmentItemTypeCode;
                }

                public void setTreatmentItemTypeCode(String treatmentItemTypeCode) {
                    TreatmentItemTypeCode = treatmentItemTypeCode;
                }

                public String getTreatmentItemTypeName() {
                    return TreatmentItemTypeName;
                }

                public void setTreatmentItemTypeName(String treatmentItemTypeName) {
                    TreatmentItemTypeName = treatmentItemTypeName;
                }

                public String getTreatmentItemCode() {
                    return TreatmentItemCode;
                }

                public void setTreatmentItemCode(String treatmentItemCode) {
                    TreatmentItemCode = treatmentItemCode;
                }

                public String getTreatmentItemName() {
                    return TreatmentItemName;
                }

                public void setTreatmentItemName(String treatmentItemName) {
                    TreatmentItemName = treatmentItemName;
                }
            }
        }

    }
}

